#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int* getConcatenation(int* nums, int numsSize, int* returnSize) {
    int i = 0;
    *returnSize = numsSize * 2;
    nums = (int*)realloc(nums, sizeof(int) * *returnSize);
    for (i = 0; i < numsSize; i++)
    {
        nums[i + numsSize] = nums[i];
    }
    return nums;
}

int main()
{

	return 0;
}